Optimal. Leaf size=259 \[ \frac {b^2 \left (48 a^2-80 a b+35 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tanh (c+d x)}{\sqrt {a}}\right )}{8 a^{9/2} (a-b)^{5/2} d}+\frac {\left (8 a^3-4 a^2 b-45 a b^2+35 b^3\right ) \coth (c+d x)}{8 a^4 (a-b)^2 d}-\frac {\left (8 a^2-52 a b+35 b^2\right ) \coth ^3(c+d x)}{24 a^3 (a-b)^2 d}-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}-\frac {(10 a-7 b) b \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 (a-b)^2 d \left (a-(a-b) \tanh ^2(c+d x)\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 259, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {3266, 479, 591,
584, 214} \begin {gather*} -\frac {b (10 a-7 b) \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 d (a-b)^2 \left (a-(a-b) \tanh ^2(c+d x)\right )}+\frac {b^2 \left (48 a^2-80 a b+35 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tanh (c+d x)}{\sqrt {a}}\right )}{8 a^{9/2} d (a-b)^{5/2}}-\frac {\left (8 a^2-52 a b+35 b^2\right ) \coth ^3(c+d x)}{24 a^3 d (a-b)^2}+\frac {\left (8 a^3-4 a^2 b-45 a b^2+35 b^3\right ) \coth (c+d x)}{8 a^4 d (a-b)^2}-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a d (a-b) \left (a-(a-b) \tanh ^2(c+d x)\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 479
Rule 584
Rule 591
Rule 3266
Rubi steps
\begin {align*} \int \frac {\text {csch}^4(c+d x)}{\left (a+b \sinh ^2(c+d x)\right )^3} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (1-x^2\right )^4}{x^4 \left (a-(a-b) x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}+\frac {\text {Subst}\left (\int \frac {\left (1-x^2\right )^2 \left (4 a-7 b+(-4 a+b) x^2\right )}{x^4 \left (a+(-a+b) x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{4 a (a-b) d}\\ &=-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}-\frac {(10 a-7 b) b \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 (a-b)^2 d \left (a-(a-b) \tanh ^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {\left (1-x^2\right ) \left (8 a^2-52 a b+35 b^2+\left (-8 a^2+12 a b-7 b^2\right ) x^2\right )}{x^4 \left (a+(-a+b) x^2\right )} \, dx,x,\tanh (c+d x)\right )}{8 a^2 (a-b)^2 d}\\ &=-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}-\frac {(10 a-7 b) b \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 (a-b)^2 d \left (a-(a-b) \tanh ^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \left (\frac {8 a^2-52 a b+35 b^2}{a x^4}+\frac {-8 a^3+4 a^2 b+45 a b^2-35 b^3}{a^2 x^2}+\frac {b^2 \left (48 a^2-80 a b+35 b^2\right )}{a^2 \left (a-(a-b) x^2\right )}\right ) \, dx,x,\tanh (c+d x)\right )}{8 a^2 (a-b)^2 d}\\ &=\frac {\left (8 a^3-4 a^2 b-45 a b^2+35 b^3\right ) \coth (c+d x)}{8 a^4 (a-b)^2 d}-\frac {\left (8 a^2-52 a b+35 b^2\right ) \coth ^3(c+d x)}{24 a^3 (a-b)^2 d}-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}-\frac {(10 a-7 b) b \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 (a-b)^2 d \left (a-(a-b) \tanh ^2(c+d x)\right )}+\frac {\left (b^2 \left (48 a^2-80 a b+35 b^2\right )\right ) \text {Subst}\left (\int \frac {1}{a-(a-b) x^2} \, dx,x,\tanh (c+d x)\right )}{8 a^4 (a-b)^2 d}\\ &=\frac {b^2 \left (48 a^2-80 a b+35 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tanh (c+d x)}{\sqrt {a}}\right )}{8 a^{9/2} (a-b)^{5/2} d}+\frac {\left (8 a^3-4 a^2 b-45 a b^2+35 b^3\right ) \coth (c+d x)}{8 a^4 (a-b)^2 d}-\frac {\left (8 a^2-52 a b+35 b^2\right ) \coth ^3(c+d x)}{24 a^3 (a-b)^2 d}-\frac {b \text {csch}^3(c+d x) \text {sech}^3(c+d x)}{4 a (a-b) d \left (a-(a-b) \tanh ^2(c+d x)\right )^2}-\frac {(10 a-7 b) b \text {csch}^3(c+d x) \text {sech}(c+d x)}{8 a^2 (a-b)^2 d \left (a-(a-b) \tanh ^2(c+d x)\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.87, size = 167, normalized size = 0.64 \begin {gather*} \frac {\frac {3 b^2 \left (48 a^2-80 a b+35 b^2\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tanh (c+d x)}{\sqrt {a}}\right )}{(a-b)^{5/2}}+\sqrt {a} \left (-8 \coth (c+d x) \left (-2 a-9 b+a \text {csch}^2(c+d x)\right )+\frac {3 b^3 \left (-32 a^2+40 a b-11 b^2+b (-14 a+11 b) \cosh (2 (c+d x))\right ) \sinh (2 (c+d x))}{(a-b)^2 (2 a-b+b \cosh (2 (c+d x)))^2}\right )}{24 a^{9/2} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(496\) vs.
\(2(241)=482\).
time = 1.87, size = 497, normalized size = 1.92 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 8519 vs.
\(2 (243) = 486\).
time = 0.54, size = 17294, normalized size = 66.77 \begin {gather*} \text {too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.82, size = 378, normalized size = 1.46 \begin {gather*} \frac {\frac {3 \, {\left (48 \, a^{2} b^{2} - 80 \, a b^{3} + 35 \, b^{4}\right )} \arctan \left (\frac {b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a - b}{2 \, \sqrt {-a^{2} + a b}}\right )}{{\left (a^{6} - 2 \, a^{5} b + a^{4} b^{2}\right )} \sqrt {-a^{2} + a b}} + \frac {6 \, {\left (24 \, a^{2} b^{3} e^{\left (6 \, d x + 6 \, c\right )} - 32 \, a b^{4} e^{\left (6 \, d x + 6 \, c\right )} + 11 \, b^{5} e^{\left (6 \, d x + 6 \, c\right )} + 112 \, a^{3} b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 200 \, a^{2} b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 130 \, a b^{4} e^{\left (4 \, d x + 4 \, c\right )} - 33 \, b^{5} e^{\left (4 \, d x + 4 \, c\right )} + 88 \, a^{2} b^{3} e^{\left (2 \, d x + 2 \, c\right )} - 112 \, a b^{4} e^{\left (2 \, d x + 2 \, c\right )} + 33 \, b^{5} e^{\left (2 \, d x + 2 \, c\right )} + 14 \, a b^{4} - 11 \, b^{5}\right )}}{{\left (a^{6} - 2 \, a^{5} b + a^{4} b^{2}\right )} {\left (b e^{\left (4 \, d x + 4 \, c\right )} + 4 \, a e^{\left (2 \, d x + 2 \, c\right )} - 2 \, b e^{\left (2 \, d x + 2 \, c\right )} + b\right )}^{2}} + \frac {16 \, {\left (9 \, b e^{\left (4 \, d x + 4 \, c\right )} - 6 \, a e^{\left (2 \, d x + 2 \, c\right )} - 18 \, b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a + 9 \, b\right )}}{a^{4} {\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}}}{24 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\mathrm {sinh}\left (c+d\,x\right )}^4\,{\left (b\,{\mathrm {sinh}\left (c+d\,x\right )}^2+a\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________